package com.dropdb.demo.bean.bo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class AdminRoleCreateBO {

    @NotBlank(message = "角色名称不能为空")
    private String name;

    private String desc;
}
